﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Traceability.Domain
{

    /// <summary>
    /// 公司表111111111
    /// </summary>
    public class Companys
    {

        [Key]
        public int CompanyId { get; set; }

        /// <summary>
        /// 批次--唯一1111112222
        /// </summary>
        public int BatchId { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string? CompanyName{ get; set; }
        /// <summary>
        /// 省份名称
        /// </summary>
        public int? ProvinceId { get; set; }
        /// <summary>
        /// 市名称
        /// </summary>
        public int? CityId { get; set; }

        /// <summary>
        /// 县名称
        /// </summary>
        public int? CountyId { get; set; }


        /// <summary>
        /// 公司地址
        /// </summary>
        public string? CompanyAddres{ get; set; }



        /// <summary>
        /// 公司简介
        /// </summary>
        public string? Companyinfo { get; set; }

        /// <summary>
        /// 公司图片
        /// </summary>
        public string? Companyimg { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string? Head { get; set; }

        /// <summary>
        /// 养殖场
        /// </summary>
        public string? Farms { get; set; }

        /// <summary>
        /// 存栏数量
        /// </summary>
        public string? StocksNumber { get; set; }

        /// <summary>
        /// 小组
        /// </summary>
        public string? Group { get; set; }


        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? Foundedtime { get; set; }


        /// <summary>
        /// 逻辑删除 false 未删  true 删除
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}
